<!doctype html>

<html>

  <head>
    <meta charset="utf-8">
    <title>Simple call example</title>
  </head>

  <body>
    <script>
      WebAssembly.instantiateStreaming(fetch("call.wasm"))
      .then(obj => {
        console.log(obj.instance.exports.getAnswerPlus1());  // "43"
      });
    </script>
  </body>

</html>
